package com.example.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ComicInfoVo implements Serializable {

    private static final long serialVersionUID = 4783834607240795562L;

    private String comicId;

    private String name;

    private String imgUrl;

    private String intro;

    private String author;

    private String status;

    private String updateDate;

    private List<PartVo> parts;


    public ComicInfoVo(String comicId, String name, String imgUrl, String intro, String author, String status, String updateDate, List<PartVo> partVos) {
        this.comicId = comicId;
        this.name = name;
        this.imgUrl = imgUrl;
        this.author = author;
        this.intro = intro;
        this.status = status;
        this.updateDate = updateDate;
        this.parts = partVos;
    }
}
